<include file="Common:header" />
<TYjs file='fix_table_title'/>
<div class="table_content">
    <!-- <div class="other">
        <a class="a_btn" href="{:U(MODULE_NAME.'/Menu/add_menu',array('type'=>'group'))}">添加分组</a>
    </div> -->
    <table class="list_table">
		<tr>
           <th width="50px"><input type="checkbox" class="check_all" title="勾选全部"/></th>
           <th width="190px">管理员</th>
           <th width="190px">管理员等级</th>
           <!-- <th style="min-width:200px;">权限</th> -->
           <th width="190px">创建时间</th>
           <th width="190px">最近一次修改时间</th>
           
           <th width="50px">状态</th>
           <th width="50px">操作</th>
       </tr>
       <volist name="accessList" id="vo">
       	   <tr>
       	   		<td>
       	   			<input type="checkbox" name="ids[]" class="check_one" value="{$vo.id}"/>
       	   		</td>
       	   		<td>
       	   			{$vo['admin_name']}
       	   		</td>
       	   		<td>
       	   			{$vo['level']}
       	   		</td>
       	   		<td>
       	   			{$vo['create_time']}
       	   		</td>
       	   		<td>
       	   			{$vo['update_time']}
       	   		</td>
       	   		<td>
       	   			<!-- {$vo['status']} -->
       	   			<input type="button" class="js_status status_{$vo['status']?'enable':'disable'}" url="{:U(MODULE_NAME.'/Role/change_role_status',array('id'=>$vo['admin_id']))}"/>
       	   		</td>
       	   		
       	   		<td>
       	   			<!-- <if condition="$vo['level'] neq Superadmin">
       	   				<a class="edit" href="{:U(MODULE_NAME.'/Role/edit_admin',array('id'=>$vo['admin_id'],'type'=>'edit'))}" title="编辑管理员"></a>
       	   			<elseif condition="$vo['level'] neq editor"/>
       	   				<a class="edit" href="{:U(MODULE_NAME.'/Role/edit_admin',array('id'=>$vo['admin_id'],'type'=>'edit'))}" title="编辑管理员"></a>
       	   			<else/>
       	   			</if> -->
       	   			<!-- <if condition="$vo['level'] neq Superadmin AND session('shop_id') eq 0"> -->
       	   				<a class="delete" href="{:U(MODULE_NAME.'/Role/delete_admin',array('id'=>$vo['admin_id']))}" title="删除该管理员"></a>
       	   			<!-- <elseif condition="$vo['level'] neq editor"/>
       	   				<a class="delete" href="{:U(MODULE_NAME.'/Role/delete_admin',array('id'=>$vo['admin_id']))}" title="删除该管理员"></a>
       	   			<else/>
       	   			</if> -->
       	   		</td>
       	   		<!-- <td>
       	   			{$vo[0]['access_name']}
       	   		</td> -->
       	   </tr>
       </volist>
    </table>
</div>
<include file="Common:footer" />
